package com.cnap.multiclouldmgmt.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "com.cnap.multiclouldmgmt.model.RepByPageWithDate",description = "分页的基础数据带时间")
public class RepByPageWithDate<T>{

    @ApiModelProperty(value = "上次同步时间")
    private String syncTime;

    //总数量
    @ApiModelProperty(value = "总数量")
    private int totalNum;
    //当前页大小
    @ApiModelProperty(value = "当前页大小")
    private int pageSize;
    //当前页数
    @ApiModelProperty(value = "当前页数")
    private int pageNo;
    //返回数据集合
    @ApiModelProperty(value = "返回数据集合")
    private List<T> result;
    //其他返回的集合
    @ApiModelProperty(value = "其他返回的集合")
    private String otherInfo;

    /**
     * get
     *
     * @return TotalNum
     */
    public int getTotalNum() {
        return totalNum;
    }

    /**
     * set
     *
     * @param totalNum totalNum
     */
    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    /**
     * get
     *
     * @return PageSize
     */
    public int getPageSize() {
        return pageSize;
    }

    /**
     * set
     *
     * @param pageSize pageSize
     */
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * get
     *
     * @return PageNo
     */
    public int getPageNo() {
        return pageNo;
    }

    /**
     * set
     *
     * @param pageNo pageNo
     */
    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    /**
     * get
     *
     * @return Result
     */
    public List<T> getResult() {
        return result;
    }

    /**
     * set
     *
     * @param result result
     */
    public void setResult(List<T> result) {
        this.result = result;
    }

    /**
     * get
     *
     * @return OtherInfo
     */
    public String getOtherInfo() {
        return otherInfo;
    }

    /**
     * set
     *
     * @param otherInfo otherInfo
     */
    public void setOtherInfo(String otherInfo) {
        this.otherInfo = otherInfo;
    }

    /**
     * get
     *
     * @return SyncTime
     */
    public String getSyncTime() {
        return syncTime;
    }

    /**
     * set
     *
     * @param syncTime syncTime
     */
    public void setSyncTime(String syncTime) {
        this.syncTime = syncTime;
    }
}
